package util.AST.Terminal;

import checker.SemanticException;
import checker.Visitor;
import scanner.Token;
import util.AST.AST;


public class ID extends Value{
	
	private AST node;
	
	public AST getNode() {
		return node;
	}

	public void setNode(AST node) {
		this.node = node;
	}

	public ID(Token token) {
		super(token);
	}

	@Override
	public String toString(int level) {
		return null;
	}

	@Override
	public Object visit(Visitor v, Object o) throws SemanticException {
		// TODO Auto-generated method stub
		return v.visitID(this, o);
	}

}
